#ifndef __POST_H__
#define __POST_H__

int bbs_post_thread_p(struct threadraw* tr);
int bbs_reply_thread_p(struct threadraw* tr);
int bbs_get_posts_from_start_p(unsigned int board_id, unsigned int thread_id, int start, int num, struct postent *pe);
int bbs_get_last_posts_p(unsigned int thread_id, struct postent* pe);
int bbs_get_posts_from_start_with_node_p(unsigned int thread_id, int start, int num, struct postent* pe, struct threadglaze* tg);
int bbs_get_thread_detail_p(unsigned int thread_id, struct postent* pe, struct threadglaze* tg);
int bbs_set_top_p(unsigned int thread_id);
int bbs_unset_top_p(unsigned int thread_id);
int bbs_set_elite_p(unsigned int thread_id);
int bbs_unset_elite_p(unsigned int thread_id);
int bbs_lock_thread_p(unsigned int thread_id);
int bbs_unlock_thread_p(unsigned int thread_id);
int bbs_delete_thread_p(unsigned int thread_id);
int bbs_undelete_thread_p(unsigned int thread_id);
int bbs_delete_post_p(unsigned int thread_id, unsigned int post_id);
int bbs_undelete_post_p(unsigned int thread_id, unsigned int post_id);
int bbs_set_type_thread_p(unsigned int thread_id, int type);
int bbs_unset_type_thread_p(unsigned int thread_id);
int bbs_set_attach_type_thread_p(unsigned int thread_id, int attach_type);
int bbs_unset_attach_type_thread_p(unsigned int thread_id, int attach_type);
int bbs_set_status_thread_p(unsigned int thread_id, int status);
int bbs_unset_status_thread_p(unsigned int thread_id, int status);
int bbs_set_attach_type_post_p(unsigned int thread_id, unsigned int post_id, int attach_type);
int bbs_unset_attach_type_post_p(unsigned int thread_id, unsigned int post_id, int attach_type);
int bbs_set_status_post_p(unsigned int thread_id, unsigned int post_id, int status);
int bbs_unset_status_post_p(unsigned int thread_id, unsigned int post_id, int status);
int bbs_edit_thread_p(struct threadraw* tr);
int bbs_edit_post_p(struct postraw* pr);

#endif
